package scct.chenhui.model;

public class Sell {
    int id;
    long sellTime;
    int goodsId;
    String goodsName;
    String typeName;
    int typeId;
    int num;
    float price;
    int sellId;
    String sellName;

    @Override
    public String toString() {
        return "Sell{" +
                "id=" + id +
                ", sellTime=" + sellTime +
                ", goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", typeName='" + typeName + '\'' +
                ", typeId=" + typeId +
                ", num=" + num +
                ", price=" + price +
                ", sellId=" + sellId +
                ", sellName='" + sellName + '\'' +
                '}';
    }

    public Sell(int id, long sellTime, int goodsId, String goodsName, String typeName, int typeId, int num, float price, int sellId, String sellName) {
        this.id = id;
        this.sellTime = sellTime;
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.typeName = typeName;
        this.typeId = typeId;
        this.num = num;
        this.price = price;
        this.sellId = sellId;
        this.sellName = sellName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getSellTime() {
        return sellTime;
    }

    public void setSellTime(long sellTime) {
        this.sellTime = sellTime;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getSellId() {
        return sellId;
    }

    public void setSellId(int sellId) {
        this.sellId = sellId;
    }

    public String getSellName() {
        return sellName;
    }

    public void setSellName(String sellName) {
        this.sellName = sellName;
    }
}
